home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / asmutil / afloat.zip / ERRNO.ASM < prev    next >
Assembly Source File  |  1988-03-15  |  566b  |  28 lines

  1. ;----------------------------------------------------------
  2. ; _errno
  3. ;
  4. ; Purpose:
  5. ;       Provides means for signalling that an error has taken
  6. ;    place.
  7. ;
  8. ; Possible values:
  9. ;    EDOM (33) - invalid paramater passed.
  10. ;    ERANGE (34) - overflow.
  11. ;
  12. ; Comments:
  13. ;    If a calling routine will be testing _errno,
  14. ;    it must first reset the variable to zero to
  15. ;    be sure that an error code is not left over
  16. ;    from some previous call.
  17. ;----------------------------------------------------------
  18.  
  19.     .MODEL    SMALL
  20.  
  21.     PUBLIC    _errno
  22.  
  23.     .DATA
  24.  
  25. _errno    DW    0
  26.  
  27.     END
  28.